package com.ddx.dao;

import com.ddx.pojo.ShortVideo;
import com.ddx.pojo.ShortVideoBrowse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShortVideoBrowseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShortVideoBrowse record);

    int insertSelective(ShortVideoBrowse record);

    ShortVideoBrowse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShortVideoBrowse record);

    int updateByPrimaryKey(ShortVideoBrowse record);

    List<ShortVideo> selectBrowerDetail(@Param("startDate") String startDate,@Param("offset") Integer offset,@Param("limit") Integer limit);
}